import request from './https.js'
//所有企业
export const findCompList=()=> {
    return request({
        url: '/control/cms/findAllFruitCompList',
        method: 'POST',
    })
}
//企业详情
export const findCompById=(data)=> {
    return request({
        url: '/control/cms/findCompById',
        method: 'GET',
        params:{...data}
    })
}
//banner
export const getBannerList=(data)=> {
    return request({
        url: '/control/cms/getBannerList',
        method: 'POST',
        data
    })
}
//专家列表
export const findExpertPage=(data)=> {
    return request({
        url: '/control/cms/findExpertPage',
        method: 'POST',
        data
    })
}
//文章新闻列表   type, state, homeShow(是否首页展示), hotspot(是否是热点文章), publisher， 分页: page, pageSize, pageType=1代表分页
export const getContentList=(data)=> {
    return request({
        url: '/control/cms/getContentList',
        method: 'POST',
        data
    })
}
//所有召回
export const findRecallList=(data)=> {
    return request({
        url: '/plant/recall/page',
        method: 'POST',
        data
    })
}
//召回详情
export const findRecallById=(data)=> {
    return request({
        url: '/plant/recall/load/'+data,
        method: 'GET',
    })
}








